package com.amway.qy.message.resp;

import com.amway.qy.core.constants.RespMsgType;
import com.amway.qy.message.resp.section.RespVideoSection;

public class RespVideoMessage extends RespBaseMessage {
	protected RespVideoSection Video;
	
	/*
	 * 考虑到与微信的交互，有相关的特定字段约束（e.g 必有项），为防止上层业务用户调用时，发生错漏。需要在创建相应的实例时，就必须提供必填项。
	 */
	public RespVideoMessage(String toUserName, String fromUserName,RespVideoSection video){
		super(toUserName, fromUserName);
		this.Video = video;
		setMsgType(RespMsgType.RESP_MESSAGE_TYPE_VIDEO);
	}
	public RespVideoSection getVideo() {
		return Video;
	}
	public void setVideo(RespVideoSection video) {
		Video = video;
	}
	@Override
	public String toString() {
		return "RespVideoMessage [Video=" + Video + ", ToUserName=" + ToUserName + ", FromUserName=" + FromUserName
				+ ", CreateTime=" + CreateTime + ", MsgType=" + MsgType + "]";
	}
	
}
